home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Shareware
/
Business Shareware.iso
/
start
/
gfxapps
/
hv12
/
src
/
rangecal.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-16
|
373b
|
24 lines
#include <stdlib.h>
#include <stdio.h>
main()
{
int i;
for(i=0;i<257;i++)
{
printf("0,");
if (!(i%35)) printf("\n");
}
for(i=1;i<256;i++)
{
printf("%d,",i);
if (!(i%20)) printf("\n");
}
for(i=0;i<256;i++)
{
printf("255,",i);
if (!(i%20)) printf("\n");
}
}